﻿using OnlineMealOrdering.Domain.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OnlineMealOrdering.Domain
{
    public class TagEntity : AuditableEntity
    {
        public string Key { get; set; }
        public ImageEntity Image { get; set; }

        public static TagEntity Create(string tag,ImageEntity imge)
        {
            var entity = new TagEntity();
            entity.Key = tag;
            entity.Image = imge;
            return entity;
        }

    }
}
